/**
 * f-club.cn
 * Copyright (c) 2009-2012 All Rights Reserved.
 */
package com.mjee.app.domain;

import java.io.Serializable;

/**
 * 
 * @author michael
 * @version $Id: PrimaryKey.java, v 0.1 2012-9-26 下午1:21:30 michael Exp $
 */
public abstract class PrimaryKey implements Serializable {
    
    /** serial version UID */
    private static final long serialVersionUID = 3116037967036722554L;
    
    /** primary key */
    protected int id;

    
    public PrimaryKey() {
    }
    
    public PrimaryKey(int id) {
    	this.id = id;
	}
    
    
    /**
     * Getter method for property <tt>id</tt>.
     * 
     * @return property value of id
     */
    public int getId() {
        return id;
    }
    
    /**
     * Setter method for property <tt>id</tt>.
     * 
     * @param id value to be assigned to property id
     */
    public void setId(int id) {
        this.id = id;
    }
    
}
